const ExtensionCenterView = () => import(/* webpackChunkName: "extension-center" */ '@/views/extension-center');
const ExtensionData = () => import(/* webpackChunkName: "extension-center" */ '@/views/extension-center/data');
const ExtensionDomain = () => import(/* webpackChunkName: "extension-center" */ '@/views/extension-center/domain');

export default [
  {
    path: '/extension',
    component: ExtensionCenterView,
    children: [
      {
        path: '',
        name: 'extension-center',
        redirect: {
          name: 'extension-domain'
        },
      },
      {
        path: 'domain',
        name: "extension-domain",
        component: ExtensionDomain,
      },
      {
        path: "data",
        name: "extension-data",
        component: ExtensionData,
      },
    ]
  }
];
